// ******************************************************************
// * Copyright(c)  Steven Lu
// * Description   : Schema_SALES_CONTRACT_DETAIL
// * CreateDate    : 2011/9/27 11:24:18
// * Creater       : CodeSmith
// * LastChangeDate: 2011/9/27 11:24:18
// * LastChanger   : 2011/9/27 11:24:18
// * Version Info  : 1.0 For ESOL
// ******************************************************************

using System;
using System.Collections.Generic;
using System.Text;
using Suzsoft.Smart.EntityCore;

namespace ESOL.Common.Schema
{
  	[Serializable]
    public partial class SalesContractDetailTable : TableInfo
    {
		public const string C_TableName = "SALES_CONTRACT_DETAIL";
		
		public const string C_ORDER_ID = "ORDER_ID";
		public const string C_QUALITY_STANDARDS = "QUALITY_STANDARDS";
		public const string C_SHELF_LIFE = "SHELF_LIFE";
		public const string C_DELIVERY_PLACE = "DELIVERY_PLACE";
		public const string C_DELIVERY_WAN = "DELIVERY_WAN";
		public const string C_RECEIVED_PERSON = "RECEIVED_PERSON";
		public const string C_RECEIVED_PLACE = "RECEIVED_PLACE";
		public const string C_TRANSPORT_WAY = "TRANSPORT_WAY";
		public const string C_TRANSPORT_WAY_OTHER = "TRANSPORT_WAY_OTHER";
		public const string C_TRANSPORT_AMOUNT_PAY_WAY = "TRANSPORT_AMOUNT_PAY_WAY";
		public const string C_PACKAGE_TYPE = "PACKAGE_TYPE";
		public const string C_PACKAGE_MATERIAL_TYPE = "PACKAGE_MATERIAL_TYPE";
		public const string C_PACKAGE_AMOUNT_PAY_WAY = "PACKAGE_AMOUNT_PAY_WAY";
		public const string C_PAYMENT_WAY = "PAYMENT_WAY";
		public const string C_PAYMENT_WAY_1 = "PAYMENT_WAY_1";
		public const string C_PAYMENT_WAY_2 = "PAYMENT_WAY_2";
		public const string C_PAYMENT_WAY_3 = "PAYMENT_WAY_3";
		public const string C_CONTROVERSY_WAY = "CONTROVERSY_WAY";
		public const string C_CONTROVERSY_WAY_1 = "CONTROVERSY_WAY_1";
		public const string C_CONTROVERSY_WAY_2 = "CONTROVERSY_WAY_2";
		public const string C_OTHER_REMARK = "OTHER_REMARK";
		public const string C_COPY_NUMBER = "COPY_NUMBER";
		public const string C_COPY_A_NUMBER = "COPY_A_NUMBER";
        public const string C_COPY_B_NUMBER = "COPY_B_NUMBER";
        public const string C_AMOUNT_BIG_FORMAT = "AMOUNT_BIG_FORMAT";
		
		public SalesContractDetailTable()
        {
            _tableName = "SALES_CONTRACT_DETAIL";
        }
		
		protected static SalesContractDetailTable _current;
        public static SalesContractDetailTable Current
        {
            get
            {
                if (_current == null)
                {
                    Initial();
                }
                return _current;
            }
        }
		
		private static void Initial()
        {
            _current = new SalesContractDetailTable();

            _current.Add(C_ORDER_ID, new ColumnInfo(C_ORDER_ID,"OrderId", true, typeof(string)));
            _current.Add(C_QUALITY_STANDARDS, new ColumnInfo(C_QUALITY_STANDARDS,"QualityStandards", false, typeof(string)));
            _current.Add(C_SHELF_LIFE, new ColumnInfo(C_SHELF_LIFE,"ShelfLife", false, typeof(string)));
            _current.Add(C_DELIVERY_PLACE, new ColumnInfo(C_DELIVERY_PLACE,"DeliveryPlace", false, typeof(string)));
            _current.Add(C_DELIVERY_WAN, new ColumnInfo(C_DELIVERY_WAN,"DeliveryWan", false, typeof(string)));
            _current.Add(C_RECEIVED_PERSON, new ColumnInfo(C_RECEIVED_PERSON,"ReceivedPerson", false, typeof(string)));
            _current.Add(C_RECEIVED_PLACE, new ColumnInfo(C_RECEIVED_PLACE,"ReceivedPlace", false, typeof(string)));
            _current.Add(C_TRANSPORT_WAY, new ColumnInfo(C_TRANSPORT_WAY,"TransportWay", false, typeof(string)));
            _current.Add(C_TRANSPORT_WAY_OTHER, new ColumnInfo(C_TRANSPORT_WAY_OTHER,"TransportWayOther", false, typeof(string)));
            _current.Add(C_TRANSPORT_AMOUNT_PAY_WAY, new ColumnInfo(C_TRANSPORT_AMOUNT_PAY_WAY,"TransportAmountPayWay", false, typeof(string)));
            _current.Add(C_PACKAGE_TYPE, new ColumnInfo(C_PACKAGE_TYPE,"PackageType", false, typeof(string)));
            _current.Add(C_PACKAGE_MATERIAL_TYPE, new ColumnInfo(C_PACKAGE_MATERIAL_TYPE,"PackageMaterialType", false, typeof(string)));
            _current.Add(C_PACKAGE_AMOUNT_PAY_WAY, new ColumnInfo(C_PACKAGE_AMOUNT_PAY_WAY,"PackageAmountPayWay", false, typeof(string)));
            _current.Add(C_PAYMENT_WAY, new ColumnInfo(C_PAYMENT_WAY,"PaymentWay", false, typeof(string)));
            _current.Add(C_PAYMENT_WAY_1, new ColumnInfo(C_PAYMENT_WAY_1,"PaymentWay1", false, typeof(string)));
            _current.Add(C_PAYMENT_WAY_2, new ColumnInfo(C_PAYMENT_WAY_2,"PaymentWay2", false, typeof(string)));
            _current.Add(C_PAYMENT_WAY_3, new ColumnInfo(C_PAYMENT_WAY_3,"PaymentWay3", false, typeof(string)));
            _current.Add(C_CONTROVERSY_WAY, new ColumnInfo(C_CONTROVERSY_WAY,"ControversyWay", false, typeof(string)));
            _current.Add(C_CONTROVERSY_WAY_1, new ColumnInfo(C_CONTROVERSY_WAY_1,"ControversyWay1", false, typeof(string)));
            _current.Add(C_CONTROVERSY_WAY_2, new ColumnInfo(C_CONTROVERSY_WAY_2,"ControversyWay2", false, typeof(string)));
            _current.Add(C_OTHER_REMARK, new ColumnInfo(C_OTHER_REMARK,"OtherRemark", false, typeof(string)));
            _current.Add(C_COPY_NUMBER, new ColumnInfo(C_COPY_NUMBER,"CopyNumber", false, typeof(int)));
            _current.Add(C_COPY_A_NUMBER, new ColumnInfo(C_COPY_A_NUMBER,"CopyANumber", false, typeof(int)));
            _current.Add(C_COPY_B_NUMBER, new ColumnInfo(C_COPY_B_NUMBER, "CopyBNumber", false, typeof(int)));
            _current.Add(C_AMOUNT_BIG_FORMAT, new ColumnInfo(C_AMOUNT_BIG_FORMAT, "AmountBigFormat", false, typeof(string)));
			
		}
		
		public ColumnInfo ORDER_ID
        {
            get { return this[C_ORDER_ID]; }
        }
		
		public ColumnInfo QUALITY_STANDARDS
        {
            get { return this[C_QUALITY_STANDARDS]; }
        }
		
		public ColumnInfo SHELF_LIFE
        {
            get { return this[C_SHELF_LIFE]; }
        }
		
		public ColumnInfo DELIVERY_PLACE
        {
            get { return this[C_DELIVERY_PLACE]; }
        }
		
		public ColumnInfo DELIVERY_WAN
        {
            get { return this[C_DELIVERY_WAN]; }
        }
		
		public ColumnInfo RECEIVED_PERSON
        {
            get { return this[C_RECEIVED_PERSON]; }
        }
		
		public ColumnInfo RECEIVED_PLACE
        {
            get { return this[C_RECEIVED_PLACE]; }
        }
		
		public ColumnInfo TRANSPORT_WAY
        {
            get { return this[C_TRANSPORT_WAY]; }
        }
		
		public ColumnInfo TRANSPORT_WAY_OTHER
        {
            get { return this[C_TRANSPORT_WAY_OTHER]; }
        }
		
		public ColumnInfo TRANSPORT_AMOUNT_PAY_WAY
        {
            get { return this[C_TRANSPORT_AMOUNT_PAY_WAY]; }
        }
		
		public ColumnInfo PACKAGE_TYPE
        {
            get { return this[C_PACKAGE_TYPE]; }
        }
		
		public ColumnInfo PACKAGE_MATERIAL_TYPE
        {
            get { return this[C_PACKAGE_MATERIAL_TYPE]; }
        }
		
		public ColumnInfo PACKAGE_AMOUNT_PAY_WAY
        {
            get { return this[C_PACKAGE_AMOUNT_PAY_WAY]; }
        }
		
		public ColumnInfo PAYMENT_WAY
        {
            get { return this[C_PAYMENT_WAY]; }
        }
		
		public ColumnInfo PAYMENT_WAY_1
        {
            get { return this[C_PAYMENT_WAY_1]; }
        }
		
		public ColumnInfo PAYMENT_WAY_2
        {
            get { return this[C_PAYMENT_WAY_2]; }
        }
		
		public ColumnInfo PAYMENT_WAY_3
        {
            get { return this[C_PAYMENT_WAY_3]; }
        }
		
		public ColumnInfo CONTROVERSY_WAY
        {
            get { return this[C_CONTROVERSY_WAY]; }
        }
		
		public ColumnInfo CONTROVERSY_WAY_1
        {
            get { return this[C_CONTROVERSY_WAY_1]; }
        }
		
		public ColumnInfo CONTROVERSY_WAY_2
        {
            get { return this[C_CONTROVERSY_WAY_2]; }
        }
		
		public ColumnInfo OTHER_REMARK
        {
            get { return this[C_OTHER_REMARK]; }
        }
		
		public ColumnInfo COPY_NUMBER
        {
            get { return this[C_COPY_NUMBER]; }
        }
		
		public ColumnInfo COPY_A_NUMBER
        {
            get { return this[C_COPY_A_NUMBER]; }
        }
		
		public ColumnInfo COPY_B_NUMBER
        {
            get { return this[C_COPY_B_NUMBER]; }
        }

        public ColumnInfo AMOUNT_BIG_FORMAT
        {
            get { return this[C_AMOUNT_BIG_FORMAT]; }
        }
		
	}
}

